package trabajoISW2.presentation.shared;

import java.util.LinkedList;
import java.util.List;

public class PublisherDTO {
	
	private String name;
	private List<BookDTO> books = new LinkedList<BookDTO>();
	
	public PublisherDTO(String n, List<BookDTO> b){
		name = n;
		books = b;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<BookDTO> getBooks() {
		return books;
	}

	public void setBooks(List<BookDTO> books) {
		this.books = books;
	}
	
	

}
